package application.messages;

import java.io.Serializable;

import application.messages.commands.Command;
import application.messages.commands.parameters.Coordinates2D;
import data.DataManager.BlockType;

/**
 * Encapsulate the message into one package.
 * 
 * @author Tomas Zima
 */
public class Message implements Serializable
{
	/**
	 * Contains information about action which should be performed.
	 */
	public Command command;
	
	/**
	 * Contains coordinates of mouse when message was created.
	 */
	public Coordinates2D position;
	
	/**
	 * Any integer value.
	 */
	public int value;
	
	/**
	 * Type of some block.
	 */
	public BlockType blockType;
}
